import request from '@/utils/request'

export function handleList(data) {
  return request({
    url: '/member.role',
    method: 'post',
    data
  })
}

export function handleEdit(queryData) {
  return request({
    url: '/member.role/handleEdit',
    method: 'post',
    data: queryData
  })
}

export function handleAdd(queryData) {
  return request({
    url: '/member.role/handleAdd',
    method: 'post',
    data: queryData
  })
}

export function handleDel(queryData) {
  return request({
    url: '/member.role/handleDel',
    method: 'post',
    data: queryData
  })
}

export function changeStatus(queryData) {
  return request({
    url: '/member.role/handleStatus',
    method: 'post',
    data: queryData
  })
}

export function handleRole(queryData) {
  return request({
    url: '/member.role/handleRole',
    method: 'post',
    data: queryData
  })
}

